/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package MainClasses.Event;


import javax.swing.BoxLayout;
import javax.swing.JLabel;
/**
 *
 * @author andrewcutler
 */
class StandardPanel extends EventPanel {

    public StandardPanel(Event event) {
        super();
        
        setLabel(new JLabel("      " + event.getName()));
        
        this.addLabelMouseListener(new EventPanelListener(event));
        setLayout(new BoxLayout(this, BoxLayout.LINE_AXIS));
        add(getLabel());
    }

}
